package com.juc.executors.executors2;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Run {

	public static void main(String[] args) {
		   ExecutorService executorService =  Executors.newCachedThreadPool();
		   for (int i = 0; i < 10; i++) {
			   executorService.execute(new MyRunable("" +( i+1)));
		   }
		   
	}
}
